package cn.edu.nju.software.zp13.client.assignment3.xmlNodeEntity;

import cn.edu.nju.software.zp13.core.annotation.Element;
import cn.edu.nju.software.zp13.core.xmlNodeEntity.XmlNodeEntity;

@Element(tagName = "nju:department")
public class Department extends XmlNodeEntity {
	@Element(tagName="nju:id")
	private String id;
	@Element(tagName="nju:name")
	private String name;

	public Department() {

	}

	public Department(String id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
